/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.moedik.classes;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author SAMMY
 */
@XmlRootElement(name = "busservice")
@XmlAccessorType(XmlAccessType.NONE)
@XmlType(name = "BusServiceType", propOrder = {
    "id", "busId", "className", "capacity", "total",
    "originCity", "originPool", "originAddress", "originPhone",
    "destinationCity", "destinationPool", "destinationAddress", "destinationPhone",
    "fare", "day", "hour"
})
public class BusService {
    
    @XmlElement(name = "id")
    protected int id;
    
    @XmlElement(name = "busId")
    protected int busId;
    
    @XmlElement(name = "className")
    protected String className;
    
    @XmlElement(name = "capacity")
    protected int capacity;
    
    @XmlElement(name = "total")
    protected int total;
    
    @XmlElement(name = "originCity")
    protected String originCity;
    
    @XmlElement(name = "originPool")
    protected String originPool;
    
    @XmlElement(name = "originAddress")
    protected String originAddress;
    
    @XmlElement(name = "originPhone")
    protected String originPhone;
    
    @XmlElement(name = "destinationCity")
    protected String destinationCity;
    
    @XmlElement(name = "destinationPool")
    protected String destinationPool;
    
    @XmlElement(name = "destinationAddress")
    protected String destinationAddress;
    
    @XmlElement(name = "destinationPhone")
    protected String destinationPhone;
    
    @XmlElement(name = "fare")
    protected int fare;
    
    @XmlElement(name = "day")
    protected String day;
    
    @XmlElement(name = "hour")
    protected String hour;
    
    private BusService() {
        this.className = null;
        this.originCity = null;
        this.originPool = null;
        this.originAddress = null;
        this.originPhone = null;
        this.destinationCity = null;
        this.destinationPool = null;
        this.destinationAddress = null;
        this.destinationPhone = null;
        this.day = null;
        this.hour = null;
    }
    
    public BusService(int busServiceId, int busId, String className, int capacity, int total, String originCity, String originPool, String originAddress, String originPhone, String destinationCity, String destinationPool, String destinationAddress, String destinationPhone, int fare, String day, String hour) {
        this.id = busServiceId;
        this.busId = busId;
        this.className = className;
        this.capacity = capacity;
        this.total = total;
        this.originCity = originCity;
        this.originPool = originPool;
        this.originAddress = originAddress;
        this.originPhone = originPhone;
        this.destinationCity = destinationCity;
        this.destinationPool = destinationPool;
        this.destinationAddress = destinationAddress;
        this.destinationPhone = destinationPhone;
        this.fare = fare;
        this.day = day;
        this.hour = hour;
    }

    public int getBusId() {
        return busId;
    }

    public void setBusId(int busId) {
        this.busId = busId;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getDestinationAddress() {
        return destinationAddress;
    }

    public void setDestinationAddress(String destinationAddress) {
        this.destinationAddress = destinationAddress;
    }

    public String getDestinationCity() {
        return destinationCity;
    }

    public void setDestinationCity(String destinationCity) {
        this.destinationCity = destinationCity;
    }

    public String getDestinationPhone() {
        return destinationPhone;
    }

    public void setDestinationPhone(String destinationPhone) {
        this.destinationPhone = destinationPhone;
    }

    public String getDestinationPool() {
        return destinationPool;
    }

    public void setDestinationPool(String destinationPool) {
        this.destinationPool = destinationPool;
    }

    public int getFare() {
        return fare;
    }

    public void setFare(int fare) {
        this.fare = fare;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOriginAddress() {
        return originAddress;
    }

    public void setOriginAddress(String originAddress) {
        this.originAddress = originAddress;
    }

    public String getOriginCity() {
        return originCity;
    }

    public void setOriginCity(String originCity) {
        this.originCity = originCity;
    }

    public String getOriginPhone() {
        return originPhone;
    }

    public void setOriginPhone(String originPhone) {
        this.originPhone = originPhone;
    }

    public String getOriginPool() {
        return originPool;
    }

    public void setOriginPool(String originPool) {
        this.originPool = originPool;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
    
}
